/**	\file ses_manager.h This file contains declarations of variables and functions of the session manager module.
*/
#ifndef SES_MANAGER_H
#define SES_MANAGER_H
#include "loc_types.h"
#include "loc_comlink.h"
#include "loc_msgmanager.h"
#include "buf_buffer.h"
#include "uart.h"


/*

    Start Frame ID          : 0xEE
    Start Frame Length      : 4
    Start Frame 1st element : 1st message length (in packets.)
    Start Frame 2nd element : 2nd message length (in packets.)
    Start Frame 3rd element : 3rd message length (in packets.)
    Start Frame 4th element : Current Message to be displayed.

*/
/************************/
/* Configuration Section*/
/************************/
#define SES_vidINCREASE_PERIOD()            ;/**/

#define SES_vidDECCREASE_PERIOD()           ;/**/

#define SES_vidSTOP_UART()                  ;/**/

#define SES_bSEND_STRING(pu8String)         URT_bSendString(pu8String)/**/
/*****************/
/* Exported Types*/
/*****************/


/**********************/
/* Exported constants */
/**********************/

#define SES_u8SESSION_IDLE              (u8)0
#define SES_u8SESSION_FRAME             (u8)1
#define SES_u8SESSION_START             (u8)2
#define SES_u8SESSION_RUN               (u8)3
#define SES_u8SESSION_RX_MESSAGE        (u8)4
#define SES_u8SESSION_SET_CURRENT       (u8)5
#define SES_u8SESSION_ERROR             (u8)6

/*********************/
/* External Functions*/
/*********************/

extern void SES_vidInit(void);
extern void SES_vidMainFunction(void);
extern void SES_vidSetDataBuffer(BUF_tstrBuffer *pstrBuffer);

extern void SES_vidSetWriteEnded(void);



#endif /*SES_MANAGER_H*/
